namespace AssetsSys.model.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class Fixup : DbMigration
    {
        public override void Up()
        {
            DropIndex("dbo.Fixups", new[] { "NewStateId" });
            DropIndex("dbo.Fixups", new[] { "FixId" });
            AddColumn("dbo.Fixups", "FixupDescribe", c => c.String());
            AddColumn("dbo.Fixups", "FixupState", c => c.String());
            AlterColumn("dbo.Fixups", "NewStateId", c => c.Guid());
            AlterColumn("dbo.Fixups", "FixId", c => c.Guid());
            CreateIndex("dbo.Fixups", "NewStateId");
            CreateIndex("dbo.Fixups", "FixId");
            DropColumn("dbo.Fixups", "ModifyDescribe");
        }
        
        public override void Down()
        {
            AddColumn("dbo.Fixups", "ModifyDescribe", c => c.String());
            DropIndex("dbo.Fixups", new[] { "FixId" });
            DropIndex("dbo.Fixups", new[] { "NewStateId" });
            AlterColumn("dbo.Fixups", "FixId", c => c.Guid(nullable: false));
            AlterColumn("dbo.Fixups", "NewStateId", c => c.Guid(nullable: false));
            DropColumn("dbo.Fixups", "FixupState");
            DropColumn("dbo.Fixups", "FixupDescribe");
            CreateIndex("dbo.Fixups", "FixId");
            CreateIndex("dbo.Fixups", "NewStateId");
        }
    }
}
